package com.maybach.dubbo.api.model;

import java.io.Serializable;

/**
 * Created by houenxun on 16/1/26.
 */
public class BaseAuditModel implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 审核状态  定义参见 AuditStatusEnum
     */
    private Integer status;
    /**
     * 备注，审核拒绝时填写
     */
    private String memo;
    /**
     * 存在申请的唯一id，如果当前用户已经申请，重新申请并且applyId为空，会报错，防止用户重复提交，
     * 如果applyId非空并且是上一次申请的id，表示更新操作
     *
     */
    private Long applyId;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }
}
